<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		
		// 关掉应用的时候
		onUnload() {
			uni.removeStorageSync('username');

		}
	}
</script>

<style>
	/*每个页面公共css */
	@import url('./lib/css/smart.css');
</style>